import { defHttp } from "/@/utils/http/axios"
import { Modal } from "ant-design-vue"

enum Api {
  unifiedOrder = "/pay-service/admin/payOrder/unifiedOrder",
  getOrderStatus = "/pay-service/order/getOrderStatus",
}

export const unifiedOrder = (params) => {
  return defHttp.post({ url: Api.unifiedOrder, params })
}

/**
 * 查询列表
 * @param params
 */
export const getOrderStatus = (outTradeNo) => {
  return defHttp.get({ url: Api.getOrderStatus, params: { outTradeNo } })
}
